package exercise;

/**
 * @ClassName Person
 * @Description Person 类
 * @Author Li
 * @Date 2022/8/14 17:47
 * @ModifyDate 2022/8/14 17:47
 * @Version 1.0
 */
public class Person {
    String name;

    public Person() {
    }

    public Person(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                '}';
    }
}
